<?php
namespace app\api\controller\v1;
/*
 * content : 后台用户访问类
 * Author  : Songyicong 
 * time    : 2018-04-21 17:43:28 
 * email   : m13726262373@163.com 
 */

use app\api\controller\BaseController;
use app\api\extra\Utils;
use think\Db;
use app\api\service\v1\AdminService;

class Admin extends BaseController{

    protected $adminService;
    public $tokenAuth = false;

    public function __construct(){
        parent::__construct();
        $this->adminService = new AdminService();
    }

    /** 生成后台用户 */
    public function setUser(){
        $this->adminService->setUser($this->params);
    }

    /** 登录后台用户 */
    public function getLogin(){
        
    }
}